package dao;

import model.Users;

public interface UserDao {
	 /**
     * Creates a new user with the specified parameters.
     * 
     * @param username
     *            the username
     * @param password
     *            the password
     * @param role
     *            the role
     */
    void createUser(Users user);

    /**
     * Gets the user with a specific username.
     * 
     * @param username
     *            the username
     * @return the user with the selected username
     * @throws DAOException 
     */
    Users getUserByUsername(String user) throws DaoException;
}
